package com.fortune.entity;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class COrderPolicy {
    @ApiModelProperty(example = "优惠政策ID")
    private String policyId;
    @ApiModelProperty(example = "优惠政策名称")
    private String policyName;
    @ApiModelProperty(example = "满数量")
    private float achieveNum;
    @ApiModelProperty(example = "赠数量")
    private float giftnum;
    @ApiModelProperty(example = "优惠开始日期")
    private Date startTime;
    @ApiModelProperty(example = "优惠结束日期")
    private Date endTime;

    public String getPolicyId() {
        return policyId;
    }

    public void setPolicyId(String policyId) {
        this.policyId = policyId;
    }

    public String getPolicyName() {
        return policyName;
    }

    public void setPolicyName(String policyName) {
        this.policyName = policyName;
    }

    public float getAchieveNum() {
        return achieveNum;
    }

    public void setAchieveNum(float achieveNum) {
        this.achieveNum = achieveNum;
    }

    public float getGiftnum() {
        return giftnum;
    }

    public void setGiftnum(float giftnum) {
        this.giftnum = giftnum;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "COrderPolicy{" +
                "policyId='" + policyId + '\'' +
                ", policyName='" + policyName + '\'' +
                ", achieveNum=" + achieveNum +
                ", giftnum=" + giftnum +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
